<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
	<head>	 	
		<title>FFXIV Calculator</title>
		 <style type="text/css">
			 #content {
					margin: 0 auto;
					width: 1000px;
				}
			.title-text { 
				font-family: sans-serif;
				font-weight: bolder;
				font-size:220%;
				font-style: italic;
				color:#0368ad;
			}
			.normal-text { 
				font-family: sans-serif;
				font-weight: bolder;
				font-size: 12px;
				font-style: italic;
				color:#AAAAAA;
			}
			.http-link { 
				font-family: sans-serif;
				font-weight: bolder;
				font-size: 12px;
				font-style: italic;
				color:#0368ad;
			}
			.email-link { 
				font-family: sans-serif;
				font-weight: bolder;
				font-size: 12px;
				font-style: italic;
				color:#0368ad;
			}
			hr {
				border: 0;
				color: #AAAAAA;
				background-color: #AAAAAA;
				height: 1px;
				opacity:.5;
			}

			DIV.float-right
			{
				margin-top: 200;
				TOP: 200;
				float: right;
			}
		 </style>
		<!-- Dieses Tag in den Head-Bereich oder direkt vor dem schließenden Body-Tag einfügen 
		<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>-->
		<script type="text/javascript">
				// google analytics
			  var _gaq = _gaq || [];
			  _gaq.push(['_setAccount', 'UA-7309189-2']);
			  _gaq.push(['_trackPageview']);

			  (function() {
				var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
				ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
				var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
			  })();

		</script>
		<script src="http://connect.facebook.net/en_US/all.js"></script>
	</head>
	<body bgcolor="#222222">
		<div id="content">
			<table width="100%" height="100%" border="0">
				<tr>
					<td>
						<table width="800" height="100%" align="middle" border="0">
							<tr>
								<td>
									<a href="http://ffxivcalc.lafil.ch"><img src="media/header.png"></a>
								</td>
							</tr>
							<tr>
								<td>
									<hr/>
								</td>
							</tr>
							<tr>
								<td>
									<span class="normal-text">
										<table width="100%">
											<tr>
												<td width="100%">
													Version 1.0.6 ( <a class="http-link" href="changelog.php">changelog</a> ) 
													Bugs | Suggestions | Feedback => <a class="email-link" href="mailto:ffxivcalc@gmail.com">ffxivcalc@gmail.com</a>
												</td>
												<td width="100%" style="vertical-align: middle;" nowrap>
													<fb:like href="<? echo "http://" . $_SERVER['HTTP_HOST']  . $_SERVER['REQUEST_URI'];?>" layout="button_count" show_faces="false" width="100" action="like" colorscheme="dark" />
												</td>
											</tr></table>
									</span>
								</td>
							</tr>
							<tr>
								<td>
									<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
										codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0"
										width="800" height="720" >
										<param name="movie" value="ffxivcalc.swf?layout=<? echo($_GET['layout']) ?>&time=<? echo(time()) ?>">
										<param name="quality" value="high">
										<param name="play" value="true">
										<param name="LOOP" value="false">
										<embed src="ffxivcalc.swf?layout=<? echo($_GET['layout']) ?>&time=<? echo(time()) ?>" width="800" height="720" play="true" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" 
										type="application/x-shockwave-flash">
										</embed>
									</object>
								</td>
							</tr>
						</table>
					</td>
					<td style="padding-top:0px">
						<div class="float-right">
							 <script type="text/javascript"><!--
								google_ad_client = "ca-pub-2620798091581588";
								/* ffxivcalc */
								google_ad_slot = "1375345803";
								google_ad_width = 160;
								google_ad_height = 600;
							//-->
							</script>
							<script type="text/javascript"
							src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
							</script>
						</div>
				</td>
				</tr>
			</table>
		</div>
		<div id="fb-root"></div>
		<script>
		  FB.init({
			appId  : '170560369686543',
			status : true, // check login status
			cookie : true, // enable cookies to allow the server to access the session
			xfbml  : true, // parse XFBML
			oauth  : true // enable OAuth 2.0
		  });
		  (function() {
			var e = document.createElement('script'); e.async = true;
			e.src = document.location.protocol +
			'//connect.facebook.net/en_US/all.js';
			document.getElementById('fb-root').appendChild(e);
			}());
		</script>
	</body>
</html>